package com.ruoyi.uni.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 客户管理对象 dc_customer
 * 
 * @author hx
 * @date 2024-04-16
 */
public class DcCustomer extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 序号 */
    private Long id;

    /** 微信id */
    private String wxOpenid;

    /** 手机号 */
    @Excel(name = "手机号")
    private String telephone;

    /** 邮箱 */
    @Excel(name = "邮箱")
    private String email;

    /** 账户名 */
    @Excel(name = "账户名")
    private String name;

    /** 头像地址 */
    @Excel(name = "头像地址")
    private String cover;

    /** 性别 */
    @Excel(name = "性别")
    private Integer sex;

    /** 密码 */
    private String password;

    public DcCustomer() {
    }

    public DcCustomer(String wxOpenid, String name, String cover, Integer sex, Integer status) {
        this.wxOpenid = wxOpenid;
        this.name = name;
        this.cover = cover;
        this.sex = sex;
        this.status = status;
    }

    /** 状态 */
    @Excel(name = "状态")
    private Integer status;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setWxOpenid(String wxOpenid) 
    {
        this.wxOpenid = wxOpenid;
    }

    public String getWxOpenid() 
    {
        return wxOpenid;
    }
    public void setTelephone(String telephone) 
    {
        this.telephone = telephone;
    }

    public String getTelephone() 
    {
        return telephone;
    }
    public void setEmail(String email) 
    {
        this.email = email;
    }

    public String getEmail() 
    {
        return email;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setCover(String cover) 
    {
        this.cover = cover;
    }

    public String getCover() 
    {
        return cover;
    }
    public void setSex(Integer sex) 
    {
        this.sex = sex;
    }

    public Integer getSex() 
    {
        return sex;
    }
    public void setPassword(String password) 
    {
        this.password = password;
    }

    public String getPassword() 
    {
        return password;
    }
    public void setStatus(Integer status) 
    {
        this.status = status;
    }

    public Integer getStatus() 
    {
        return status;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("wxOpenid", getWxOpenid())
            .append("telephone", getTelephone())
            .append("email", getEmail())
            .append("name", getName())
            .append("cover", getCover())
            .append("sex", getSex())
            .append("password", getPassword())
            .append("status", getStatus())
            .toString();
    }
}
